/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hiber;

import java.io.Serializable;
import master_server.Element;

/**
 *  // classe experemental,  pour  recup de historique...
 * @author Baxter
 */
public class Vhistorique extends Element implements Serializable {
    private String pseudo;
    private int configuration;
    private int score;
    
    public Vhistorique() {
        
    }
    public Vhistorique(String pseudo, int config, int score) {
        this.pseudo = pseudo;
        this.configuration = config;
        this.score = score;
    }
    public int getConfig() {
        return configuration;
    }

    public void setConfig(int config) {
        this.configuration = config;
    }

    public String getPseudo() {
        return pseudo;
    }

    public void setPseudo(String pseudo) {
        this.pseudo = pseudo;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }





    @Override
    public String ficheComplete() {
        return ""+pseudo+"\t"+configuration+"\t"+score;
    }

    @Override
    public String toString() {
        return ""+pseudo+" "+configuration+" "+score;
    }
      public String printString() {
         return ""+pseudo+" "+configuration+" "+score; 
      }
}


//pseudo, configuration, score